package com.youdianda.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * 广告
 */
@Mapper
@Repository()
public interface YddAdvposMapper {
    /**
     * 广告总位数
     * @return
     */
    @Select("select count(*) from ydd_advpos")
    Integer getNumber();
}
